package io.renren.modules.sys.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class ParamDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private String code;
    private String name;
    private String discript;

    public ParamDto() {

    }

    public ParamDto(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public ParamDto(Long code, String name) {
        this.code = code.toString();
        this.name = name;
    }

    public ParamDto(Integer code, String name) {

        this.code = code.toString();
        this.name = name;
    }
}
